/**
 * 定义rb中面板lf
 * name属性没有指定
 */
Ext.define('Risk.view.rb.Lf2', {
    extend: 'Ext.form.FieldSet',
    alias: 'widget.lffieldSet2',
    title: '文化遗产损失率【Lf】',
    layout: 'vbox',
    autoShow: true,
    initComponent: function() {
      //初始化Window中的内容
    	
    	this.items = [
           {
	           xtype:'checkbox',
	           boxLabel  : '确定C、Ct',
	           //TODO 未确定关系
               name      : '',
               inputValue: '1',
               name:'lf1',
               checked:true
	        },{
	            xtype:'numberfield',
                name:'lf2',
                itemId:'numberfield1',
	            fieldLabel:'文化遗产损失的平均值',
	            labelWidth:150,
                minValue:0,
                allowBlank:false
	        },{
	            xtype:'numberfield',
                name:'lf3',
                itemId:'numberfield2',
	            fieldLabel:'文化遗产总价值',
	            labelWidth:150,
                minValue:1,
                allowBlank:false
	        },  
	        {
	        	readOnly : true,
	        	xtype:'textfield',
                name:'lf4',
	        	style:'background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: #000000 1px solid;',
	        	fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
	        	itemId:'lf',
	        	labelWidth:60,
	        	fieldLabel:'【Lf】'
	        }
        ];
        this.callParent(arguments);
    }
});